from rest_framework import serializers
from apps.SystemService.models.parameter import ParameterModels


class ParameterModelSerializer(serializers.ModelSerializer):
    create_time = serializers.DateTimeField(format="%Y-%m-%d %H:%M:%S", required=False, read_only=True)

    class Meta:
        model = ParameterModels
        fields = '__all__'
